const tableConfig = {
  stripe: true,
  border: true,
  maxHeight: "80vh",
  columns: [
    {
      label: '运营单位名称',
      prop: 'organizationName',
      type: 'text',
      maxlength: '50',
      showWordLimit: true,
    },
    {
      label: '运营单位统一社会信用代码',
      prop: 'creditCode',
      type: 'input',
    },
    {
      label: '合同签订开始日期',
      prop: 'startDate',
      type: 'date',
      format: 'YYYY年MM月DD日',
      valueFormat: 'YYYY-MM-DD',
    },
    {
      label: '合同签订结束日期',
      prop: 'finishDate',
      type: 'date',
      format: 'YYYY年MM月DD日',
      valueFormat: 'YYYY-MM-DD',
    },
    {
      label: '运营单位联系人姓名',
      prop: 'name',
      type: 'text',
      maxlength: '20',
      showWordLimit: true,
    },
    {
      label: '合同运营内容',
      prop: 'operateContent',
      type: 'textarea',
      maxlength: '500',
      showWordLimit: true,
    },
    {
      label: '合同',
      prop: 'contract',
      custome: 'file',
    },
  ],
};

export const baseConfig = {
  pageName: "运营记录",
  dictcodes: [],
  rowKey: "id",
  api: {
    index: "view_dpOperateRecord_page",
  },
  auth: {
    index: "view_dpOperateRecord_page",
  },
  // menuBtn: [
  //   {
  //     icon: "detail",
  //     label: "查看详情",
  //     type: "primary",
  //     operate: "detail",
  //     auth: "view_dpOperateRecord_page",
  //     text: true,
  //     show: true,
  //   },
  // ],
  dialogConfig: {
    width: "80%",
  },
  tableConfig,
};